package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbChannelUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbChannelUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andClubIdIsNull() {
            addCriterion("club_id is null");
            return (Criteria) this;
        }

        public Criteria andClubIdIsNotNull() {
            addCriterion("club_id is not null");
            return (Criteria) this;
        }

        public Criteria andClubIdEqualTo(Integer value) {
            addCriterion("club_id =", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotEqualTo(Integer value) {
            addCriterion("club_id <>", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdGreaterThan(Integer value) {
            addCriterion("club_id >", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("club_id >=", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdLessThan(Integer value) {
            addCriterion("club_id <", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdLessThanOrEqualTo(Integer value) {
            addCriterion("club_id <=", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdIn(List<Integer> values) {
            addCriterion("club_id in", values, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotIn(List<Integer> values) {
            addCriterion("club_id not in", values, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdBetween(Integer value1, Integer value2) {
            addCriterion("club_id between", value1, value2, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("club_id not between", value1, value2, "clubId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andOldClubUidIsNull() {
            addCriterion("old_club_uid is null");
            return (Criteria) this;
        }

        public Criteria andOldClubUidIsNotNull() {
            addCriterion("old_club_uid is not null");
            return (Criteria) this;
        }

        public Criteria andOldClubUidEqualTo(Integer value) {
            addCriterion("old_club_uid =", value, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidNotEqualTo(Integer value) {
            addCriterion("old_club_uid <>", value, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidGreaterThan(Integer value) {
            addCriterion("old_club_uid >", value, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("old_club_uid >=", value, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidLessThan(Integer value) {
            addCriterion("old_club_uid <", value, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidLessThanOrEqualTo(Integer value) {
            addCriterion("old_club_uid <=", value, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidIn(List<Integer> values) {
            addCriterion("old_club_uid in", values, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidNotIn(List<Integer> values) {
            addCriterion("old_club_uid not in", values, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidBetween(Integer value1, Integer value2) {
            addCriterion("old_club_uid between", value1, value2, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubUidNotBetween(Integer value1, Integer value2) {
            addCriterion("old_club_uid not between", value1, value2, "oldClubUid");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileIsNull() {
            addCriterion("old_club_mobile is null");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileIsNotNull() {
            addCriterion("old_club_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileEqualTo(String value) {
            addCriterion("old_club_mobile =", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileNotEqualTo(String value) {
            addCriterion("old_club_mobile <>", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileGreaterThan(String value) {
            addCriterion("old_club_mobile >", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileGreaterThanOrEqualTo(String value) {
            addCriterion("old_club_mobile >=", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileLessThan(String value) {
            addCriterion("old_club_mobile <", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileLessThanOrEqualTo(String value) {
            addCriterion("old_club_mobile <=", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileLike(String value) {
            addCriterion("old_club_mobile like", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileNotLike(String value) {
            addCriterion("old_club_mobile not like", value, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileIn(List<String> values) {
            addCriterion("old_club_mobile in", values, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileNotIn(List<String> values) {
            addCriterion("old_club_mobile not in", values, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileBetween(String value1, String value2) {
            addCriterion("old_club_mobile between", value1, value2, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andOldClubMobileNotBetween(String value1, String value2) {
            addCriterion("old_club_mobile not between", value1, value2, "oldClubMobile");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggIsNull() {
            addCriterion("club_award_egg is null");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggIsNotNull() {
            addCriterion("club_award_egg is not null");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggEqualTo(Integer value) {
            addCriterion("club_award_egg =", value, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggNotEqualTo(Integer value) {
            addCriterion("club_award_egg <>", value, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggGreaterThan(Integer value) {
            addCriterion("club_award_egg >", value, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggGreaterThanOrEqualTo(Integer value) {
            addCriterion("club_award_egg >=", value, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggLessThan(Integer value) {
            addCriterion("club_award_egg <", value, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggLessThanOrEqualTo(Integer value) {
            addCriterion("club_award_egg <=", value, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggIn(List<Integer> values) {
            addCriterion("club_award_egg in", values, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggNotIn(List<Integer> values) {
            addCriterion("club_award_egg not in", values, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggBetween(Integer value1, Integer value2) {
            addCriterion("club_award_egg between", value1, value2, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubAwardEggNotBetween(Integer value1, Integer value2) {
            addCriterion("club_award_egg not between", value1, value2, "clubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountIsNull() {
            addCriterion("club_activity_count is null");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountIsNotNull() {
            addCriterion("club_activity_count is not null");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountEqualTo(Integer value) {
            addCriterion("club_activity_count =", value, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountNotEqualTo(Integer value) {
            addCriterion("club_activity_count <>", value, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountGreaterThan(Integer value) {
            addCriterion("club_activity_count >", value, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("club_activity_count >=", value, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountLessThan(Integer value) {
            addCriterion("club_activity_count <", value, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountLessThanOrEqualTo(Integer value) {
            addCriterion("club_activity_count <=", value, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountIn(List<Integer> values) {
            addCriterion("club_activity_count in", values, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountNotIn(List<Integer> values) {
            addCriterion("club_activity_count not in", values, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountBetween(Integer value1, Integer value2) {
            addCriterion("club_activity_count between", value1, value2, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andClubActivityCountNotBetween(Integer value1, Integer value2) {
            addCriterion("club_activity_count not between", value1, value2, "clubActivityCount");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggIsNull() {
            addCriterion("old_club_award_egg is null");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggIsNotNull() {
            addCriterion("old_club_award_egg is not null");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggEqualTo(Integer value) {
            addCriterion("old_club_award_egg =", value, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggNotEqualTo(Integer value) {
            addCriterion("old_club_award_egg <>", value, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggGreaterThan(Integer value) {
            addCriterion("old_club_award_egg >", value, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggGreaterThanOrEqualTo(Integer value) {
            addCriterion("old_club_award_egg >=", value, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggLessThan(Integer value) {
            addCriterion("old_club_award_egg <", value, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggLessThanOrEqualTo(Integer value) {
            addCriterion("old_club_award_egg <=", value, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggIn(List<Integer> values) {
            addCriterion("old_club_award_egg in", values, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggNotIn(List<Integer> values) {
            addCriterion("old_club_award_egg not in", values, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggBetween(Integer value1, Integer value2) {
            addCriterion("old_club_award_egg between", value1, value2, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andOldClubAwardEggNotBetween(Integer value1, Integer value2) {
            addCriterion("old_club_award_egg not between", value1, value2, "oldClubAwardEgg");
            return (Criteria) this;
        }

        public Criteria andDrawCountIsNull() {
            addCriterion("draw_count is null");
            return (Criteria) this;
        }

        public Criteria andDrawCountIsNotNull() {
            addCriterion("draw_count is not null");
            return (Criteria) this;
        }

        public Criteria andDrawCountEqualTo(Integer value) {
            addCriterion("draw_count =", value, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountNotEqualTo(Integer value) {
            addCriterion("draw_count <>", value, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountGreaterThan(Integer value) {
            addCriterion("draw_count >", value, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("draw_count >=", value, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountLessThan(Integer value) {
            addCriterion("draw_count <", value, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountLessThanOrEqualTo(Integer value) {
            addCriterion("draw_count <=", value, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountIn(List<Integer> values) {
            addCriterion("draw_count in", values, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountNotIn(List<Integer> values) {
            addCriterion("draw_count not in", values, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountBetween(Integer value1, Integer value2) {
            addCriterion("draw_count between", value1, value2, "drawCount");
            return (Criteria) this;
        }

        public Criteria andDrawCountNotBetween(Integer value1, Integer value2) {
            addCriterion("draw_count not between", value1, value2, "drawCount");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountIsNull() {
            addCriterion("total_club_count is null");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountIsNotNull() {
            addCriterion("total_club_count is not null");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountEqualTo(Integer value) {
            addCriterion("total_club_count =", value, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountNotEqualTo(Integer value) {
            addCriterion("total_club_count <>", value, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountGreaterThan(Integer value) {
            addCriterion("total_club_count >", value, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_club_count >=", value, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountLessThan(Integer value) {
            addCriterion("total_club_count <", value, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountLessThanOrEqualTo(Integer value) {
            addCriterion("total_club_count <=", value, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountIn(List<Integer> values) {
            addCriterion("total_club_count in", values, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountNotIn(List<Integer> values) {
            addCriterion("total_club_count not in", values, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountBetween(Integer value1, Integer value2) {
            addCriterion("total_club_count between", value1, value2, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalClubCountNotBetween(Integer value1, Integer value2) {
            addCriterion("total_club_count not between", value1, value2, "totalClubCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountIsNull() {
            addCriterion("total_activity_count is null");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountIsNotNull() {
            addCriterion("total_activity_count is not null");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountEqualTo(Integer value) {
            addCriterion("total_activity_count =", value, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountNotEqualTo(Integer value) {
            addCriterion("total_activity_count <>", value, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountGreaterThan(Integer value) {
            addCriterion("total_activity_count >", value, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_activity_count >=", value, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountLessThan(Integer value) {
            addCriterion("total_activity_count <", value, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountLessThanOrEqualTo(Integer value) {
            addCriterion("total_activity_count <=", value, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountIn(List<Integer> values) {
            addCriterion("total_activity_count in", values, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountNotIn(List<Integer> values) {
            addCriterion("total_activity_count not in", values, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountBetween(Integer value1, Integer value2) {
            addCriterion("total_activity_count between", value1, value2, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalActivityCountNotBetween(Integer value1, Integer value2) {
            addCriterion("total_activity_count not between", value1, value2, "totalActivityCount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNull() {
            addCriterion("total_amount is null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNotNull() {
            addCriterion("total_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountEqualTo(BigDecimal value) {
            addCriterion("total_amount =", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotEqualTo(BigDecimal value) {
            addCriterion("total_amount <>", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThan(BigDecimal value) {
            addCriterion("total_amount >", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_amount >=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThan(BigDecimal value) {
            addCriterion("total_amount <", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_amount <=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIn(List<BigDecimal> values) {
            addCriterion("total_amount in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotIn(List<BigDecimal> values) {
            addCriterion("total_amount not in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_amount between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_amount not between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}